package com.yyplatform.frontend.infra.enums;

/**
 * Created on 2024-11-15
 */
public enum StatusEnum implements OptionEnum<Integer> {
    PAUSE(1, "暂停"),
    NORMAL(0, "正常"),
    //
    ;

    private int status;
    private String desc;

    StatusEnum(int s, String d) {
        status = s;
        desc = d;
    }

    @Override
    public Integer getValue() {
        return status;
    }

    @Override
    public String getLabel() {
        return desc;
    }

}
